package xyz.coolcsm.security.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author 什锦
 * @since 2021-06-1
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageBean<T> {
    //总数量
    private int totalCount;
    //总页数
    private int totalPage;
    //当前页码
    private int currentPage;
    //一页大小
    private int pageSize;
    //分页数据
    private List<T> records;

}
